//设置新闻页面跳转和传值
function xwxq(obj){
    window.location.href = "/ts/xwdt-xq.html?id=" + encodeURI(obj.id);
}

//设置行业聚焦页面跳转和传值
function hyjj(obj){
    window.location.href = "/ts/hyjj-xq.html?id=" + encodeURI(obj.id);
}
//设置经典案例页面跳转和传值
function classic(obj) {
    window.location.href = "/ts/jdal-xq.html?id=" + encodeURI(obj.id);
}

//设置服务类型案例跳转和传值
function servicecase(obj,serviceid) {
    window.location.href = "/ts/fulx-xq.html?id=" + encodeURI(obj.id + "=serviceid=" + serviceid);
}

//设置招聘发布信息跳转和传值
function recruitzp(obj) {
    window.location.href = "/ts/zpfb-xq1.html?id=" + encodeURI(obj.id);
}

//获取传过来的新闻id值
function getnewsid() {
    var loc = window.location.href;
    var locsplite = loc.split("=");
    var id = decodeURI(locsplite[1]);

    //加载内容
    loadnewscontent(id);
    newsPrev(id);
    newsNext(id);
}

//获取传过来的案例id值
function getclassicid() {
    var loc = window.location.href.split("=");
    var id = decodeURI(loc[1]);

    //加载内容
    loadclassiccontent(id);
    jdalPrev(id);
    jdalNext(id);

}

//获取传过来的服务类型案例id值
function getcaseid() {
    var loc = window.location.href.split("=");
    var id = decodeURI(loc[1]);
    var serviceid = parseInt(decodeURI(loc[3]));
    //加载内容
    loadcasecontent(id);
    fulxPrev(id,serviceid);
    fulxNext(id,serviceid);
}

//获取传过来的招聘发布信息id值
function getrecruitid() {
    var loc = window.location.href.split("=");
    var id = decodeURI(loc[1]);
    //加载内容
    loadrecruit(id);
}